]> dgit.raspbian.org Git - gnome-shell.git/commit
screenShield: Do not save lock state on wayland
authorFlorian Müllner <fmuellner@gnome.org>
Mon, 5 Feb 2018 10:37:09 +0000 (11:37 +0100)
committerJonas Ådahl <jadahl@gmail.com>
Wed, 7 Feb 2018 04:35:57 +0000 (04:35 +0000)
commitd3a3b7f514b6ac12d73a760859c744da9e93265c
tree806856ace7ab517ac1969b6bc96da103163ba235
parent80ad4718127ab8e64e5eac358cdc43a3b093e9ec
screenShield: Do not save lock state on wayland

We keep track of the lock state and restore it on startup to prevent
a crash from bypassing the screen lock. However on wayland, a crash
doesn't result in gnome-session restarting gnome-shell, but brings
down the entire session - that is, restoring the lock state does not
actually protect the existing session in that case, but forces the
user to authenticate twice in order to start the next session. This
is clearly not helpful, so avoid this by not saving the state when
running as wayland compositor.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/17
js/ui/screenShield.js